package service;

import java.util.List;

import entity.CartItem;

public interface CartService {
	public boolean buy(int pid) throws Exception;
	public void del(int pid);
	public void recover(int pid);
	public void modify(int pid,int qty);
	public void load(String str);
	public String store();
	public double cost();
	public double cutPrice();
	public List<CartItem> getProds(boolean exist);
	public void clear();
}
